//
//  TopNavigationBar.h
//  TopNavigationBar
//
//  Created by bosma on 14-4-8.
//  Copyright (c) 2014年 cn.com.bosma. All rights reserved.
//

#import <UIKit/UIKit.h>
//设置代理
@protocol TopNavigationBarDelegate <NSObject>

@optional

- (void)itemButtonClicked:(int)index;

@end

@interface TopNavigationBar : UIView

@property (nonatomic,assign) id<TopNavigationBarDelegate> delegate;

- (id)initWithFrame:(CGRect)frame BgImageName:(NSString *)bgimgName labelTitle:(NSString *)title LabFrame:(CGRect)labFrm LeftBool:(BOOL)haveLeftBtn LeftBtnFrame:(CGRect)leftBtnFrm LeftBtnImgName:(NSString *)leftBtnImgName RightBool:(BOOL)haveRightBtn RightBtnFrame:(CGRect)rightBtnFrm RightBtnImgName:(NSString *)rightBtnImgName;

@end


